//package com.bupt.godxian.charging.config;
//
//import com.baomidou.mybatisplus.extension.plugins.PaginationInterceptor;
//import org.springframework.context.annotation.Bean;
//import org.springframework.context.annotation.Configuration;
//
//@Configuration
//public class MyBatisPlusConfig {
//
//    @Bean
//    public PaginationInterceptor paginationInterceptor() {
//        return new PaginationInterceptor();
//    }
//}
//schedule
//            List<Long> chargeList = chargeAreaMapper.selectList(new QueryWrapper<ChargeArea>()
//                            .eq("pile_id", pileId)).stream()
//                    .map(ChargeArea::getRequestId)
//                    .collect(Collectors.toList());
//            List<Long> chargeWaitList = chargeWaitAreaMapper.selectList(new QueryWrapper<ChargeWaitArea>()
//                            .eq("type", chargeMode)).stream()
//                    .map(ChargeWaitArea::getRequestId)
//                    .collect(Collectors.toList());
//            List<Long> waitList = waitAreaMapper.selectList(new QueryWrapper<WaitArea>()
//                            .eq("type", chargeMode)).stream()
//                    .map(WaitArea::getRequestId)
//                    .collect(Collectors.toList());